package com.example.yunbiji0314.util;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


import java.text.SimpleDateFormat;
import java.util.Date;

//@Component
//public class CleanImgJob {
//
//    @Scheduled(cron = "3 34 10 ? * *")
//    private void task(){
//        String printTime = new SimpleDateFormat("yy-MM-dd HH-mm-ss").format(new Date());
//        System.out.println("张俊，该点外卖了"+printTime);
//    }
//}
